package com.example.excel;

import lombok.Data;

@Data
public class DataExcel {
    private String value;

    private int startRow;

    private int startCol;

    private int rowCount;

    private int colCount;

    public DataExcel(String value, int startRow, int startCol) {
        this.value = value;
        this.startRow = startRow;
        this.startCol = startCol;
        this.rowCount = 1;
        this.colCount = 1;
    }

    public DataExcel(String value, int startRow, int startCol, int rowCount, int colCount) {
        this.value = value;
        this.startRow = startRow;
        this.startCol = startCol;
        this.rowCount = rowCount;
        this.colCount = colCount;
    }

}
